import request from '@/utils/request'

// 查询验收标准列表
export function listAcceptStandard(query) {
  return request({
    url: '/business/base/acceptStandard/list',
    method: 'get',
    params: query
  })
}

// 查询验收标准详细
export function getAcceptStandard(id) {
  return request({
    url: '/business/base/acceptStandard/' + id,
    method: 'get'
  })
}

// 新增验收标准
export function addAcceptStandard(data) {
  return request({
    url: '/business/base/acceptStandard/insert',
    method: 'post',
    data: data
  })
}

// 修改验收标准
export function updateAcceptStandard(data) {
  return request({
    url: '/business/base/acceptStandard/update',
    method: 'put',
    data: data
  })
}

// 删除验收标准
export function delAcceptStandard(id) {
  return request({
    url: '/business/base/acceptStandard/delete/' + id,
    method: 'delete'
  })
}
